package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.RequestParams;
import com.itheima.pojo.Item;
import com.itheima.vo.PageResult;

import java.io.IOException;

public interface SearchService extends IService<Item> {
    PageResult search(RequestParams requestParams) throws IOException;

    void initializeESData() throws IOException;

    void addDeleteItem(Item item) throws IOException;

    void initializeESIndex() throws IOException;
}
